package comt;

public class Demo02 {
    public static void main(String[] args) {
        Zkm zkm = new Zkm();
        zkm.info();
        zkm.speak();
        zkm.happy();
    }
}
interface Student {
    String NAME = "张坤萌";
    void speak();
    void info();
}
abstract class Action{
    public abstract void happy();
}

class Zkm extends Action implements Student {

    @Override
    public void speak() {
        System.out.println("哈哈哈！");
    }

    @Override
    public void info() {
        System.out.println("名称：" + Student.NAME);
    }

    @Override
    public void happy() {
        System.out.println("看电影！");
    }
}
